package com.dd.census.service;

import java.util.Map;
import java.util.List;
import com.dd.census.entity.*;

/**
 * 业务层
 * MemberService
 * @author whn
 * @date 2020/11/26
 */
public interface MemberService {

    /**
     * [新增]
     **/
    int insert(Member member);

    /**
     * [批量新增]
     **/
    int batchInsert(List<Member> list);

    /**
     * [批量更新]
     **/
    int batchUpdate(Member list);
    
    /**
     * [更新]
     **/
    int update(Member member);

    /**
     * [删除]
     **/
    int delete(Member member);

    /**
     * [批量删除]
     **/
    int batchDelete(List<String> id);

    /**
     * [主键查询]
     **/
    Member selectByKey(String id);

    /**
     * [条件查询]
     **/
    List<Member> selectList (Member member);

    /**
     * [分页条件查询]
     **/
    Map<String, Object> selectPage (Member member);

    /**
     * [总量查询]
     **/
    int total(Member member);
}
